package com.wt.springsamples.aop;


import com.wt.springsamples.annotation.AccessControl;

public class AopService {

    @AccessControl(value="hasAuthority('org:tree')",code ="org:tree",name="组织管理-树形列表")
    public int test(int id){
        System.out.println("AopService getUser 方法");
        return  1/id;
    }
}

